package com.aaa.repast.app.wx.cartItem.domain;

import com.aaa.repast.app.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 购物车表 oms_cart_item
 * 
 * @author teacherChen
 * @date 2019-12-30
 */
@Data
@ApiModel(description = "购物车实体类")
public class CartItem extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	

	/**  */
	@ApiModelProperty(value = "主键")
	private Long id;

	/** 商品id */
	@ApiModelProperty(value = "商品id")
	private Long productId;

	/** 商品库存id */
	@ApiModelProperty(value = "商品库存id")
	private Long productSkuId;

	/** 会员id */
	@ApiModelProperty(value = "会员id")
	private Long memberId;

	/** 店铺ID */
	@ApiModelProperty(value = "店铺ID")
	private Long shopId;

	/** 购买数量 */
	@ApiModelProperty(value = "购买数量")
	private Integer quantity;

	/** 添加到购物车的价格 */
	@ApiModelProperty(value = "添加到购物车的价格")
	private BigDecimal price;

	/** 销售属性1 */
	@ApiModelProperty(value = "销售属性1")
	private String sp1;

	/** 销售属性2 */
	@ApiModelProperty(value = "销售属性2")
	private String sp2;

	/** 销售属性3 */
	@ApiModelProperty(value = "销售属性3")
	private String sp3;

	/** 商品主图 */
	@ApiModelProperty(value = "商品主图")
	private String productPic;

	/** 商品名称 */
	@ApiModelProperty(value = "商品名称")
	private String productName;

	/** 商品副标题（卖点） */
	@ApiModelProperty(value = "商品副标题（卖点）")
	private String productSubTitle;

	/** 商品sku条码 */
	@ApiModelProperty(value = "商品sku条码")
	private String productSkuCode;

	/** 会员昵称 */
	@ApiModelProperty(value = "会员昵称")
	private String memberNickname;

	/** 创建时间 */
	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	/** 修改时间 */
	@ApiModelProperty(value = "修改时间")
	private Date modifyDate;

	/** 是否删除 */
	@ApiModelProperty(value = "是否删除")
	private Integer deleteStatus;

	/** 商品分类 */
	@ApiModelProperty(value = "商品分类")
	private Long productCategoryId;

	/** 商品品牌 */
	@ApiModelProperty(value = "商品品牌")
	private String productBrand;

	/** 商品编号 */
	@ApiModelProperty(value = "商品编号")
	private String productSn;

	/** 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}] */
	@ApiModelProperty(value = "商品销售属性")
	private String productAttr;


}
